<template>
	<view class="son">
		son中接受父亲的值：{{v}}
		<button type="default" @click="change">子组件的按钮</button>
	</view>
</template>
<script setup>
	import { defineProps, defineEmits } from 'vue'
	defineProps({
		v:Number
	})
	const emits = defineEmits(['change'])
	function change(){
		emits('change')
	}
</script>
<style>
</style>
